<%= page id: :resource_form do %>
  <%= page_header do %>
    <%= page_header_back(back_url) %>
    <%= page_header_title(t('.title')) %>
    <%= page_header_actions do %>
      <%= render component("ui/button").discard(path: back_url) %>
      <%= render component("ui/button").save(form: form_id) %>
    <% end %>
  <% end %>

  <%= render component("stock_locations/form").new(stock_location: @stock_location, url: form_url, id: form_id) %>

  <%= page_footer do %>
    <%= render component("ui/button").save(form: form_id) %>
  <% end %>
<% end %>
